﻿<%@ Page Title="词条管理" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ct_manage.aspx.cs" Inherits="ct_manage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <asp:GridView ID="GridView1" runat="server" BackColor="White" 
        BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" 
        CellSpacing="1" GridLines="None" Height="337px" Width="705px" 
        AutoGenerateColumns="False" HorizontalAlign="Center" AllowPaging="False" OnRowDeleting="delete">
        <Columns>   
         <asp:BoundField DataField="CT_ID" HeaderText="词条ID"/>
            <asp:BoundField DataField="CT_NAME" HeaderText="词条标题"/>
            <asp:BoundField DataField="CT_CONTENT" HeaderText="积分兑换比例" />

            <asp:ImageField DataImageUrlField="CT_IMAGE" HeaderText="图片"  ControlStyle-Width="200px">
<ControlStyle Width="200px"></ControlStyle>
            </asp:ImageField>
            <asp:CommandField ShowDeleteButton="true" ButtonType="Button" />
            
        </Columns>
        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#594B9C" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#33276A" />
    </asp:GridView>
</asp:Content>

